package org.patto.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试-demo
 *
 * @author songchuanfu
 * @date 2023/08/01 18:01
 **/
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping
    public  String demo(@RequestParam("name") String name) {
        return "Hello " + name;
    }
}
